package test4;

public class Dog extends Animal implements Afraid{
    public void eat(){
        System.out.println("狗吃骨头");
    }
    public void escape(){
        System.out.println("狗害怕了，夹着尾巴逃跑");
    }
    public void makeSounds(){
        System.out.println("狗害怕时，发出呜呜呜的声音");
    }
}
